package com.example.flowableoa.service;

import com.example.flowableoa.domain.dto.FlowDeployProcDto;
import org.springframework.stereotype.Service;

import java.io.InputStream;
import java.util.List;
@Service
public interface IflowDefinitionService {
    void deployFlow(String name, String categroy, InputStream inputStream);

    public List<FlowDeployProcDto> list();
    public List<FlowDeployProcDto> list2(String guanjianzi);

    void updatestate(String definitionId);

    void deleteFlow(String deployId);

    byte[] flowImg(String deployId);
}
